package io_exercise;

import java.io.*;
import java.nio.charset.StandardCharsets;

public class BRDemo1 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis1=new FileInputStream("pw1.txt");
        InputStreamReader isr1=new InputStreamReader(fis1, StandardCharsets.UTF_8);
        BufferedReader br1=new BufferedReader(isr1);
        String line1;
        while ((line1=br1.readLine())!=null){
            System.out.println(line1);
        }
        br1.close();
    }
}
